package com.gfxy.modules.base.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;

/**
 * @author: lijixin 2021/10/24 8:37 下午
 */
@Data
@TableName("gfxy_v_user_info_and_dep")
public class TeacherBaseInfoVo {
    private String id;
    private String realname;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    @Dict(dicCode = "sex")
    private Integer sex;

    private String email;
    private String phone;

    @Dict(dicCode="USER_INFO_STATUS")
    private Integer status;

    @Dict(dicCode="TEACHER_INFO_DEL")
    private Integer delFlag;


    @Dict(dicCode = "GFXY_TITLES_RANK")
    private Integer titleRank;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String work_date;


    @Dict(dicCode = "USER_INFO_TYPE")
    private String teacherType;

    @Dict(dicCode = "USER_INFO_POSITION")
    private Integer position;

    @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
    private String orgCode;

    @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
    private String teachingOrgCode;

    @Dict(dicCode = "USER_INFO_DUAL_QUALIFICATION")
    private Integer dualQualification;
}
